﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace OnWork.DataCenter.BLL.Standard
{
    /// <summary>
    /// 数据库转DataTable
    /// </summary>
    public class DBToDataTableConfig
    {
        /// <summary>
        /// 数据库配置ID
        /// </summary>
        public long DBID { get; set; }

        /// <summary>
        /// 数据库连接
        /// </summary>
        public string DBConn { get; set; }

        /// <summary>
        /// 数据库类型
        /// </summary>
        public DbType DBType { get; set; } = DbType.SqlServer;

        /// <summary>
        /// SQL脚本
        /// </summary>
        public string SQL { get; set; }

    }
}
